package com.xhsj.user.sms.purchase.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xhsj.user.sms.purchase.entity.TbPurchaseApplyList;
import com.xhsj.user.sms.purchase.vo.PurchaseApplyListQueryVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 采购申请清单表 Mapper 接口
 * </p>
 *
 * @author suxiaolin
 * @since 2020-04-13
 */
@Mapper
public interface TbPurchaseApplyListMapper extends BaseMapper<TbPurchaseApplyList> {

    //申购清单
    List<PurchaseApplyListQueryVo> purchaseApplyList(@Param("purchaseApplyId") String purchaseApplyId);

    //根据采购申请的id删除采购申请清单表
    int removeApplyList(@Param("purchaseApplyId") String purchaseApplyId);
}
